  <ion-scroll ng-controller="HotelListPrivateWashCtrl" style="height: 100%;" class="crm-content-no-padding">
    <ion-refresher
            pulling-text="下拉刷新"
            on-refresh="hotels.refresh()">
    </ion-refresher>
    <ul class="list">
      <li class="item-input-inset crm-item-search">
        <label class="item-input item-input-wrapper">
          <i class="icon ion-search placeholder-icon"></i>
          <input type="text" placeholder="输入酒店名称、ID、地址" ng-model="hotels.search.value" ng-change="hotels.search.doAct()">
        </label>
        <button class="button" ui-sref="app.hotel-list-filter({type:HOTEL_TYPE})">
          <i class="fa fa-filter fa-lg" ng-class="{'energized':isFilter()}"></i>
        </button>
      </li>
      <li class="item item-icon-right" ng-click="goHotelMain(hotel)" ng-repeat="hotel in hotels.data">
          <h2>
              <i class="fa" ng-class="{'fa-smile-o balanced':hotel.isHealthy=='1','fa-meh-o energized':hotel.isHealthy=='2','fa-frown-o assertive':hotel.isHealthy=='3'}"></i>&nbsp;
              {{hotel.hotelName}}&nbsp;
              <b class="task-active" ng-if="hotel.hotelRank">{{hotel.hotelRank+'级'}}</b>
          </h2>
          <p><small>{{hotel.detailAddr}}</small>&nbsp;</p>
        <p>
          <i class="fa fa-cloud-upload" ng-class="{'task-active':hotel.distributCooperate=='1'}"></i>&nbsp;&nbsp;
          <i class="fa fa-recycle" ng-class="{'task-active':hotel.washCooperate=='1'}"></i>&nbsp;&nbsp;
          <i class="fa fa-shopping-cart" ng-class="{'task-active':hotel.supplyCooperate=='1'}"></i>&nbsp;&nbsp;
            <small>累计收益：{{hotel.total?hotel.total:0  | currency: '￥'}}</small>
            &nbsp;&nbsp;<small>{{hotel.stateName}}</small>
        </p>
        <div class="padding-top">
          <button ng-if="!hotel.isReturn" class="button button-small button-energized" style="padding: 3px 10px;" ng-click="returnPublic($event, hotel)">
              退回公海
          </button>
          <button ng-if="hotel.isReturn" class="button button-small button-energized" style="padding: 3px 10px; background-color: #eeeeee; color: #aaaaaa">
              已退回
          </button>
        </div>
        <i class="icon ion-ios-telephone balanced"  ng-click="showTelList($event,hotel)"></i>
      </li>
      <li class='item text-center' ng-if="hotels.loaded && hotels.data.length==0">
        <p>暂无私海酒店，请及时认领并拜访哦！</p>
      </li>
        <li class='item item-divider' style="height:30px;border-bottom:none;background-color: transparent;">
            &nbsp; <!--fixed tab bug-->
        </li>
    </ul>
    <ion-infinite-scroll
            ng-if="hotels.moreDataCanBeLoaded"
            on-infinite="hotels.loadMore()"
            distance="5%"
            spinner="dots">
    </ion-infinite-scroll>
  </ion-scroll>
